<?php
/* @var $this SiteController */
/* @var $error array */

$this->pageTitle=Yii::app()->name . ' - Organization';
$this->breadcrumbs=array(
	'Organization',
);
?>


<aside class="right-side">
       <!-- Content Header (Page header) -->
       <section class="content-header">

<div class="box box-primary">
                                <div class="box-header">
                                    <h3 class="box-title">Quick Example</h3>
                                </div><!-- /.box-header -->
                                <!-- form start -->
                              
                                       <?php
        $form = $this->beginWidget('CActiveForm', array(
            'htmlOptions' => array(
                'name' => 'frmOrganization')
        ));
        ?>
                                
                                
                                    <div class="box-body">
                                        <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'PERSONAL_CDOE'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'PERSONAL_CDOE', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'PERSONAL_CDOE'); ?>



                                        </div>
                                        
                                        
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'IDCARD'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'IDCARD', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'IDCARD'); ?>



                                        </div>
                                      
  
                                        
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'PERSONAL_NAME'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'PERSONAL_NAME', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'PERSONAL_NAME'); ?>



                                        </div>
                                      
                                        
                                        
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'PERSONAL_LASTNAME'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'PERSONAL_LASTNAME', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'PERSONAL_LASTNAME'); ?>



                                        </div>
                                      
  
     
                                        
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'ADDRESS'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'ADDRESS', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'ADDRESS'); ?>



                                        </div>
                                      
                               
    
                                        
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'TEL'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'TEL', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'TEL'); ?>



                                        </div>
                                      
                             
       
                                        
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'FAX'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'FAX', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'FAX'); ?>



                                        </div>
                                      

                                        
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'EMAIL'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'EMAIL', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'EMAIL'); ?>



                                        </div>
                                                             
       
                                        
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'depart_id'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'depart_id', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'depart_id'); ?>



                                        </div>
                                      
                                        
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'postion_id'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'postion_id', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'postion_id'); ?>



                                        </div>
                                      
  
                                         <div class="form-group">

                                            <?php echo $form->labelEx($Personal, 'PERSONAL_IMAGES'); ?>
                                            <?php
                                            echo $form->textField($Personal, 'PERSONAL_IMAGES', array(
                                                'class' => 'form-control',
                                                'style' => 'width: 420px;height:30px;',
                                                 'maxlength' => 255));
                                            ?>
                                            <?php echo $form->error($Personal, 'PERSONAL_IMAGES'); ?>



                                        </div>
                                      
                                      
                                        
  
                                        
                                        
                             
                                        
                                    </div><!-- /.box-body -->

                                    <div class="box-footer">
                                        <button type="submit" class="btn btn-primary">Submit</button>
                                    </div>
                                  <?php $this->endWidget(); ?>
                            </div>

           
           
           
           
           
</section>
</aside>



        
       
        <?php echo $form->hiddenField($Personal, 'ID'); ?>
        
         <span style="float: left;padding-top: 15px;">
        <a href="#" class="btn btn-primary" onclick="document.formCompany.submit()">@ บันทึก</a>
	</span>
        
     
    </div>
</div>
